package com.syni.mdd.sjb.community.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.community.entity.SjbQywxCompanyUser;
import com.syni.mdd.sjb.community.base.entity.vo.rq.GetCorpCompanyUserVo;

import java.util.List;
import java.util.Map;

/**
 * @author wangbaitao
 * @version 1.0.0
 * <h>企业微信员工信息表 service</h>
 * @Date 2021/2/22
 **/
public interface SjbQywxCompanyUserService extends IService<SjbQywxCompanyUser> {
    void syncCompanyUserData(String corpId, String permanentCode);

    Map<String, Object> getCorpCompanyUser(GetCorpCompanyUserVo corpCompanyUserVo);

    List<SjbQywxCompanyUser> getByIdIn(List<String> merberIds);

    void deleteCompanyUserByCorpId(String corpId);

    Integer countCompanyNum(String corpId);
}
